<?php
if( !empty($_SERVER['HTTP_X_REWRITE_URL']) ) $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_REWRITE_URL'];
@set_time_limit(60*60*12); //函数最久执行时间
//@set_magic_quotes_runtime(0);   //关闭特殊字符提交的时候提示数据库错误
//header("Content-type: text/html;charset=utf8");   //设置系统编码格式
//header("Content-type: application/json")
header("Server:'TalkArt-Server 1.0'");
header("Strict-Transport-Security: max-age=31536000");
header("X-Powered-By:'Spring-4.5.0'");
header("Pragma: no-cache");  //禁止缓存
//禁止显示警告和错误
//error_reporting(E_ALL^E_NOTICE^E_WARNING);
 //根目录
define('ROOT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
require( 'protected/core.php' );
//require( 'framework/core.php' );